
// Testing identifier text queries
Save 'Hello World' into MyWorld
save 'elivs presley is #1' into elvis
checkfor 'Hello' in MyWorld
checkfor 'Elvis' in MyWorld

// Should say not Xyz defined?
checkfor 'Presley' in Xyz

// Testing URI queries
checkfor 'ho' in http://www.yahoo.com
checkfor 'nasa' in file:///c:/temp/test.txt

// Regular expression type (email | date | number | uri) query, 
// with "show" keyword to print the results
show fetch email from 'hi i am an email'
show fetch date from '234958743985675'
show fetch number from 'dfghgf34434'
show fetch uri from 'www.loveit.info'
show fetch everything from http://www.google.com
save fetch everything from http://www.yahoo.com into myYahoo

show MyWorld

// Testing if/else statements
if MyWorld is same as 'test me' then
	show 'they are the same'
else
	show 'they are not the same'	 
end if

// Testing for every loop
for every EachEmail in  fetch uri from http://www.yahoo.com

	myFunc('first param', MyWorld, 'third Param')
	
loop

// Testing function declaration with 3 parameters
function myFunc

 param parm1

 param parm2

 param parm3

	show 'this is my test func'
end function

show fetch number from 'cats 123 and dogs'

function myOtherFunc
  param foo
  param barr
  param parm2
	show 'this is my other test'
end function


